package com.wt.springboot.service;

import com.wt.springboot.bean.Employee;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.cache.annotation.Cacheable;

/**
 * Created with IDEA
 * Describe:
 * Author:TianJi
 * Date:2018/11/8
 * Time:13:39
 */
public interface EmployeeService {

    Employee getEmployeeById(Integer id);

    void updateEmployee(Employee employee);

    void addEmployee(Employee employee);

    void deleteEmployee(Integer id);
}
